import axios from "axios";

const getPictureByTaskId = (taskId: number) => {
  return new Promise((resolve, reject) => {
      axios.get("/api/detailed-task/getPictureByTaskId",{
          params:{
              taskId
          }
      }).then((response)=>{
          resolve(response);
      })
  })
}
export default getPictureByTaskId;